<?php
class staticpages_view extends SClass {

    public function process() {
        $staticpage = ServiceUtils::GetFactory()->getStaticpageService()->getStaticPageByUrl($this->getArgument('url'));
        $this->assign('title', $staticpage->getTitle());
        $this->assign('content', $staticpage->getContent());
    }

}